package com.testMain.filetest;

import java.io.File;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
import java.util.concurrent.atomic.AtomicReference;

/**
 * @author 贾明祯
 * @ClassName Test1
 * @Date 2020/9/18 10:43
 * @Introduce
 */
public class Test1 {
    public static void main(String[] args) throws IOException {
        File file = new File("F:/a/","a.jar");
        System.out.println(file.getParentFile());
        boolean a= file.getParentFile().mkdirs();
        System.out.println(a);
        file.createNewFile();
    }
}
